#pragma once

/*
    Copyright (C) 2010, Felix Bytow <drako123@gmx.de>

    This file is part of DBCpp.

    DBCpp is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    DBCpp is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with DBCpp.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef __AREA_TABLE_HPP__
#define __AREA_TABLE_HPP__

namespace DBCpp
{
#pragma pack(1)
	struct AreaTable
	{
		dbc_int ID;
		dbc_int MapID;
		dbc_int AreaID;
		dbc_int ExploreFlag;
		dbc_int Flags;
#ifdef DBCpp_STRICT_TRINITY
		dbc_int Unknown1[2];
#else
		dbc_int SoundPreferences;
		dbc_int Unknown1;
#endif
		dbc_int SoundAmbienceID;
		dbc_int ZoneMusicID;
		dbc_int ZoneIntroMusicID;
		dbc_int AreaLevel;
		dbc_string AreaName;
		dbc_int FactionGroupID;
		dbc_int Unknown2[7];
	};
#pragma pack()

	typedef templateDBC<AreaTable> AreaTableDBC;
}

#endif // __AREA_TABLE_HPP__
